package computer;

public class Test {
		public static void main(String args[]) {
			
		CPU cpu = new CPU();
		
		cpu.setSpeed(2200);
		
		HardDisk HD=new HardDisk();
		
	
		HD.setAmount(200);
		
		PC pc =new PC();
		
		pc.setCPU(cpu);
		
		pc.setHardDisk(HD);
		
		pc.show();
		}
}
